package fr.babostesting.unit.components.text 
{
	import flash.display.Sprite;
	import fr.babos.core.entries.Document;
	import fr.babos.graphic.components.base.StageWrapper;
	import fr.babos.graphic.components.controls.text.Label;
	
	/**
	 * ...
	 * @author ZoulouX
	 */
	public class TextTest extends Document
	{
		protected var _stageWrapper		:StageWrapper;
		protected var _label			:Label;
		
		protected var _lipsum			:String = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consequat sapien eu tellus auctor at tincidunt elit tempor. Sed pretium dignissim tortor, quis volutpat leo pretium id. Nullam rutrum, purus ut placerat sagittis, sapien magna semper purus, id cursus diam quam in urna. Nullam malesuada magna non dolor aliquet eget faucibus eros consectetur. Vestibulum id cursus nisi. Morbi convallis dictum euismod. Nulla fermentum, nibh in semper commodo, dolor libero varius nulla, vel facilisis tellus sem non diam. Nullam risus nisi, fringilla ut mattis a, blandit a ligula."
		
		public function TextTest() 
		{
			
		}
		
		override public function init ():void
		{
			_stageWrapper = new StageWrapper(stage);
			
			_label = new Label(false, false);
			_label.text(_lipsum).border(true, 0xFF0000);
			_label.place(10, 10, NaN, 10).into(_stageWrapper);
			
		}
	}
}